<?php $this->load->view('_inc/header_popup')?>

<h1>Pontuação para os Cargos</h1>
<?php echo form_open('apoio/adicionandoPontosCargos')?>
<?php echo form_hidden('mej',$mej->id)?>

<table>
    <tr>
        <td>
            <?php echo form_label('Instituição:')?>
            <?php echo $mej->mej?>
        </td>
    </tr>
    <?php foreach($cargos as $cargo){ ?>
    <tr>
        <td>
            <?php echo form_label($cargo->cargo.':')?>
            <?php echo form_input('pontos[]',$cargo->pontuacao,'style="width:25px"')?>pontos
            <?php echo form_hidden('cargos[]',$cargo->id)?>
        </td>
    </tr>
    <?php }?>
    <tr>
        <td>
            <?php echo form_submit('','Salvar')?>
            <?php echo form_button('','Cancelar','class=cancela')?>
        </td>
    </tr>
</table>
<?php echo form_close()?>